﻿using huaxin_DAO;
using huaxin_Interface;
using huaxin_Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace huaxin_Impl
{
    public class huaxin_UserImpl: huaxin_IUsers
    {

        private readonly huaxin_UserDao _userDao = new huaxin_UserDao();

        public int AddUser(huaxin_users users)
        {
            return  _userDao.AddUser(users);
        }

        public  huaxin_users GetModel(string openId)
        {
            return  _userDao.GetModel(openId);
        }

    }
}
